golang/xenlight: Implement libxl_bitmap and helper operations
authorRonald Rojas <ronladred@gmail.com>
Wed, 5 Apr 2017 16:05:49 +0000 (17:05 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Thu, 6 Apr 2017 14:34:16 +0000 (15:34 +0100)
commita95b3166e9ec607dc4af66c8e84349ed6ca39401
treea847d892a0219047e6466401d2a51c2bbd8446f2
parenteab2ad52b2bae38aa0c777501db8e162e0c6fd75
golang/xenlight: Implement libxl_bitmap and helper operations

Implement Bitmap type, along with helper functions.

The Bitmap type is implemented interllay in a way which makes it
easy to copy into and out of the C libxl_bitmap type.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Signed-off-by: Ronald Rojas <ronladred@gmail.com>
Acked-by: Ian Jackson <ian.jackson@citrix.com>
tools/golang/xenlight/xenlight.go